package cn.dankal.flyaudio.contract;

import java.util.List;

import cn.dankal.basiclib.base.BasePresenter;
import cn.dankal.basiclib.base.BaseView;
import cn.dankal.basiclib.pojo.AddressEntity;
import cn.dankal.basiclib.pojo.ProductEntity;

public interface StoreSearchContract {

    interface Presenter extends BasePresenter<StoreSearchContract.View> {

        void doSearch(String keyword, boolean isRefresh);

        void doSearch(String keyword, boolean isRefresh, String sort, boolean asc);

    }


    interface View extends BaseView {

        void showProductList(List<ProductEntity> data, boolean isRefresh);
    }
}
